package com.tianhui.consignortwofei.mvp.model;

import android.content.Context;


import com.fgs.common.progress.ObserverResponseListener;

import java.util.List;

import io.reactivex.ObservableTransformer;
import okhttp3.MultipartBody;

/**
 * @author fgs
 * @date 2020/6/19
 * @description
 **/
public interface IPictureModel<T> {
    /**
     * 上传图片
     *
     * @param context
     * @param parts
     * @param isDialog
     * @param transformer
     * @param observerListener
     */
    void uploadPictureModel(Context context, List<MultipartBody.Part> parts, boolean isDialog,
                            ObservableTransformer<T, T> transformer, ObserverResponseListener observerListener);
}
